<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<title>个人信息</title>
	<meta charset="UTF-8"/>
	<link rel="stylesheet" type="text/css" href="/css/bookDetail.css"/>
	<link rel="stylesheet" type="text/css" href="/css/mygoodsshelf.css"/>
	<script type="text/javascript" src="/js/jquery-3.2.js"></script>
	<script type="text/javascript" src="/js/infomation.js"></script>

	<script>
		$(function ()
		{
			$('.buy-now').click(function ()
			{
				var id = $(this).attr('value');
				window.location.href = "/goToBuyPage.do?GID="+id;
			});
		});
	</script>

</head>
<body>
	<nav class="navbar">
		<div class="nav-menu">
            <ul class="menu">
                <li><a href="/">首页</a></li>
                <li><a href="/goToMallPage.do">二手商品</a></li>
            </ul>
		</div><!-- nav-menu -->


		<div class="nav-info">
			<a href="/personal_info.do" th:text="${marketUser.uname}">用户</a>
			<a class="goodshelf" href="/goToMyCart.do">||&nbsp;&nbsp;&nbsp;我的购物车</a>
			<a class="logout" href="/logout.do">[ 退 出 ]</a>
		</div>
	</nav>

	<div class="container">
		<div id="book-pic">
			<div class="book-big">
<!--				<img src="/image/book.jpg" th:src="${marketGoods.getGID()}"/>-->
				<img src="/image/book.jpg"/>
			</div>
			<span class="tip"></span>
		</div> <!-- book-pic-end -->

		<div id="book-info">
			<span class="book-name" th:text="${marketGoods.getName()}">计算机组成原理</span>
			<span class="book-publish" th:text="${marketGoods.getKind()}">唐朔飞 著 / 2009-09 / 平装</span>
			<span class="book-price">
				<p>售价 <a class="final-price" th:text="'￥'+${marketGoods.getPrice()}">￥13.00</a></p>
				<p>商品数量<a class="final-price" th:text="${marketGoods.getNumber()}">2018-03-20</a></p>
			</span>
			<span class="buy-now" th:value="${marketGoods.getGID()}">
				<a>立即购买</a>
			</span>
		</div> <!-- book-info-end -->

		<div id="seller-info">
			<a class="seller-name" th:text="${seller.uname}">testSeller</a>
			<span class="seller-span1">
				联系<a class="seller-chat">在线联系</a>
			</span>
			<span class="seller-span2">
				<p>电话<a class="seller-num" th:text="${seller.phoneNum}">132-1234-1234</a></p>
				<p>邮箱<a class="seller-adr" th:text="${seller.email}">123@qq.com</a></p>
			</span>
			<!--查看此卖家其他商品，此功能可实现，建议保留-->
			<span class="seller-span3">
				<a href="#">[ 去看看卖家的其他商品 ]</a>
			</span>
		</div>
		<div id="book-content">
			<span class="book-tip">待实现的商品评价功能（难以实现，建议删除）</span>
		</div>
	</div><!--  container -->
	

	<footer>
		<a href="#">©2021-7 二手物品交易</a>
		<a href="#">意见反馈&nbsp;&nbsp;&nbsp;联系我们&nbsp;&nbsp;&nbsp;隐私权声明&nbsp;&nbsp;&nbsp;使用条款</a>
	</footer>
	
	<!-- javascript- -->

			
</body>
</html>